package com.spic.job.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 隐患排查治理对象 hidden_governance
 *
 * @date 2021-10-15
 */
@Data
@Alias("hiddenGover")
public class HiddenGovernance implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 专业ID
     */
    @Excel(name = "专业ID")
    private String professionalId;

    /**
     * 排查时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "排查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /**
     * 班次
     */
    @Excel(name = "班次")
    private String classesType;

    /**
     * 隐患来源
     */
    @Excel(name = "隐患来源")
    private String hazardSources;

    /**
     * 隐患类型
     */
    @Excel(name = "隐患类型")
    private String hazardType;

    /**
     * 隐患等级
     */
    @Excel(name = "隐患等级")
    private String hazardLevel;

    /**
     * 系统分类
     */
    @Excel(name = "系统分类")
    private String systemType;

    /**
     * 隐患地点 -清单项对应
     */
    @Excel(name = "隐患地点 -清单项对应")
    private String hiddenPlace;

    /**
     * 隐患地点 -发生地点
     */
    @Excel(name = "隐患地点 -发生地点")
    private String hiddenPlaceAdder;

    //隐患类型 二级
    private String secondHazardType;

    /**
     * 排查人员 id
     */
    private String screeningPersonnel;
    //排查人员 name
    private String screeningPersonnelName;

    /**
     * 隐患描述
     */
    private String hiddenDescription;

    /**
     * 隐患备注
     */
    private String hiddenRemrk;

    /**
     * 隐患附件
     */
    private String hiddenAttachment;

    private String fileName;

    /**
     * 整改部门
     */
    @Excel(name = "整改部门")
    private String rectificationDept;

    /**
     * 整改人
     */
    @Excel(name = "整改人")
    private String rectificationPeople;

    /**
     * 整改类型
     */
    @Excel(name = "整改类型")
    private String rectificationType;

    /**
     * 整改要求
     */
    private String rectificationRequire;

    /**
     * 整改期限
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "整改期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectificationPeriod;

    /**
     * 整改措施
     */
    private String rectificationMeasures;

    /**
     * 整改人id
     */
    @Excel(name = "整改人id")
    private String rectificationPeopleId;

    /**
     * 整改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "整改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rectificationTime;

    /**
     * 延期原因
     */
    private String delayCause;

    /**
     * 验收人
     */
    @Excel(name = "验收人")
    private String acceptancePeople;

    /**
     * 验收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date acceptanceTime;

    /**
     * 验收意见
     */
    private String acceptanceOpinion;

    /**
     * 销号验收人
     */
    @Excel(name = "销号验收人")
    private String eliminateAcceptancePeople;

    /**
     * 销号验收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "销号验收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date eliminateAcceptanceTime;

    /**
     * 销号验收意见
     */
    private String eliminateAcceptanceOpinion;

    /**
     * 隐患状态
     */
    @Excel(name = "隐患状态")
    private String hazardStatus;

}
